package com.biz.dto.user;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="tb_user_role")
public class UserRoleDTO implements Serializable{
	private static final long serialVersionUID = -7174325706200336485L;
	@Id
	private int userRoleId;
	private String userName;
	private int roleId;
	public int getUserRoleId() {
		return userRoleId;
	}
	public void setUserRoleId(int userRoleId) {
		this.userRoleId = userRoleId;
	}

	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public int getRoleId() {
		return roleId;
	}
	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}
	
	@Override
	public String toString() {
		return "UserRoleDTO [userRoleId=" + userRoleId + ", userName=" + userName + ", roleId=" + roleId + "]";
	}
	
	
}
